
#ifndef OTA_ENUM_H
#define OTA_ENUM_H

typedef enum
{
    OTA_None = 0,
    //auto update firmware
    OTA_ControllerConnectingTo,
    OTA_ControllerConnectedSuccessfully, //This message will display for 5 seconds after the connection has been successful. 

    //manually update firmware
    OTA_UpdateToLatestFirmware,
    OTA_CheckingInternet,
    OTA_CheckedInternetSuccessfully,
    OTA_WiFiConnectionNeeded, //When manually updating the firmware, if there is no wifi connection
    
    //update firmware
    OTA_CheckingFirmwareUpdate,
    OTA_MostRecentFirmware, //If the controller is already the most recent firmware, then the controller should be not install 
    OTA_DownloadingUpdate,
    OTA_DisDownloadingYesOrNo,
    OTA_FailedToUpdate, //If the firmware ware update is forcefully interrupted
    OTA_InstallingFirmware,
    OTA_FirmwareUpdateComplete,
}OTA_Steps_E;

#endif
